package com.qf.listener.tipic;

import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

/**
 * @version v1.0.0
 * @Description:
 * @author: 姜红凯
 * @date: 2022.03.11
 * @since 1.0
 */
@Component
public class TopicListener01 {
    @RabbitListener(queues = "topic_queue1")
    public void consumer(String message){
        System.out.println("消费了 队列1------- : " + message);

    }
}
